Pod::Spec.new do |s|
    s.name             = 'XCH_Map'
    s.version          = '0.1.2'
    s.summary          = '这个百度地图app我们后续还是会修改和增加的，敬请期待'
    s.description      = <<-DESC
    这是一个简单的地图，有系统的定位和百度定位和大头针，还有就是编码和反编码，其他的都没有怎么做
    DESC

    s.homepage         = 'https://git.oschina.net'
    s.license          = { :type => 'MIT', :file => 'LICENSE' }
    s.author           = { '解楚豪' => '1025745401@qq.com' }
    s.source           = { :git => 'https://git.oschina.net/siwang/XCH_Map.git', :tag => s.version.to_s }

    s.ios.deployment_target = '8.0'

#s.source_files = 'XCH_Map/Classes/**/*'
    s.subspec 'XCH_Map_Baidu' do |bd|
    bd.dependency 'BaiduMapKit'
    bd.source_files = 'XCH_Map/Classes/XCH_Map_Baidu/**/*'
    end

    s.subspec 'XCH_Map_System' do |st|
    st.source_files = 'XCH_Map/Classes/XCH_Map_System/**/*'
    st.frameworks = 'UIKit', 'MapKit','CoreLocation'
    end

  # s.resource_bundles = {
  #   'XCH_Map' => ['XCH_Map/Assets/*.png']
  # }

    # s.public_header_files = 'Pod/Classes/**/*.h'
#s.frameworks = 'UIKit', 'MapKit','CoreLocation'


end
